WOLF core
WOLF: A Modular Estimation Framework for Robotics
XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0" name="MSearchResults" id="MSearchResults">
feature_motion.h
Go to the documentation of this file.
1// WOLF - Copyright (C) 2020-2026
2// Institut de Robòtica i Informàtica Industrial, CSIC-UPC.
3// Authors: Joan Solà Ortega (jsola@iri.upc.edu) and
4// Joan Vallvé Navarro (jvallve@iri.upc.edu)
5// All rights reserved.
6//
7// This file is part of WOLF: http://www.iri.upc.edu/wolf
8// WOLF is free software: you can redistribute it and/or modify
9// it under the terms of the GNU General Public License version 3
10// as published by the Free Software Foundation.
11//
12// This program is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU General Public License for more details.
16//
17// You should have received a copy of the GNU General Public License
18// along with this program. If not, see <http://www.gnu.org/licenses/>.
19#pragma once
20
23
24namespace wolf
25{
27
32{
33 public:
37 FeatureMotion(const std::string& _type,
38 const Eigen::VectorXd& _delta_preint,
39 const Eigen::MatrixXd _delta_preint_cov,
40 const Eigen::VectorXd& _calib_preint,
41 const Eigen::MatrixXd& _jacobian_calib);
42 ~FeatureMotion() override;
43
44 const Eigen::VectorXd& getDeltaPreint() const;
45
48 const Eigen::VectorXd& getCalibrationPreint() const;
49
52 const Eigen::MatrixXd& getJacobianCalibration() const;
53
54 private:
55 Eigen::VectorXd calib_preint_;
56 Eigen::MatrixXd jacobian_calib_;
57};
58
59inline const Eigen::VectorXd& FeatureMotion::getDeltaPreint() const
60{
61 return measurement_;
62}
63
64inline const Eigen::VectorXd& FeatureMotion::getCalibrationPreint() const
65{
66 return calib_preint_;
67}
68
69inline const Eigen::MatrixXd& FeatureMotion::getJacobianCalibration() const
70{
71 return jacobian_calib_;
72}
73
74} /* namespace wolf */
Base class of features: a measurement with its uncertainty, extracted from a capture,...
Definition: feature_base.h:40
Eigen::VectorXd measurement_
Measurement vector.
Definition: feature_base.h:55
Feature of a pre-integrated motion delta, with the calibration parameters used in the pre-integration...
Definition: feature_motion.h:32
const Eigen::VectorXd & getCalibrationPreint() const
Returns the calibration parameters used during pre-integration.
Definition: feature_motion.h:64
FeatureMotion(const std::string &_type, const Eigen::VectorXd &_delta_preint, const Eigen::MatrixXd _delta_preint_cov, const Eigen::VectorXd &_calib_preint, const Eigen::MatrixXd &_jacobian_calib)
Constructor from the pre-integrated delta and its covariance, the calibration parameters used in the ...
Definition: feature_motion.cpp:23
const Eigen::MatrixXd & getJacobianCalibration() const
Returns the Jacobian of the pre-integrated delta wrt the calibration parameters.
Definition: feature_motion.h:69
const Eigen::VectorXd & getDeltaPreint() const
Returns the pre-integrated delta (same as getMeasurement())
Definition: feature_motion.h:59
~FeatureMotion() override
Definition: feature_motion.cpp:35
Definition: capture_base.h:23
WOLF_PTR_TYPEDEFS(CaptureLandmarksExternal)